let result = myLib.makeGreeting('helloWord')

console.log("greeting", result)

let count = myLib.numberOfGreetings

console.log("一般般", foo / 2)
greet3("hello world")

// 测试函数重载
let x = getWidget(43)
let arr = getWidget('all of them')

// 测试，描述类
const myGreeter = new Greeter2('hello world')
myGreeter.greeting = 'howdy'
myGreeter.showGreeting()

class SpecialGreeter extends Greeter2 {
  constructor() {
    super('Very special greeting')
  }
}